package com.luck.easyfoodbatch.ui;

import android.os.Bundle;
import android.widget.TextView;

import com.luck.easyfoodbatch.R;
import com.luck.easyfoodbatch.adapter.OpenBillingAdapter;
import com.luck.easyfoodbatch.sticky.StickyListHeadersListView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class OpenBillingActivity extends BaseActivity {

    @BindView(R.id.stickylist)
    StickyListHeadersListView stickylist;
    @BindView(R.id.tv_next)
    TextView tvNext;

    private OpenBillingAdapter adapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_open_billing, "按订单开票", "开票历史", MODE_BACK_NAVIGATION);
        ButterKnife.bind(this);
        adapter = new OpenBillingAdapter(this);
        stickylist.setAdapter(adapter);
    }

    @OnClick(R.id.tv_next)
    public void onClick() {
        startAct(OpenBillingNextActivity.class);
    }
}
